<div class="login_frm">

    <form action="LoginServlet" method="post" id="frmLogin">
        <table border="0">
            <tr>
                <td>Username</td>
                <td><input type="text" name="txtUsername" id="txtUsername" class="required"/></td>
            </tr>
            <tr>
                <td>Password</td>
                <td><input type="password" name="txtPassword" id="txtPassword" class="required" /></td>
            </tr>
            <tr>
                <td><input type="submit" value="Login" /></td>
                <td><a href="register.jsp">Register</a>&nbsp;&nbsp;<a href="retrievePassword.jsp">Retrieve password</a></td>
            </tr>
        </table>
    </form>
</div>